<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>SystemSharp: HTMLReport.cs Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">SystemSharp
   &#160;<span id="projectnumber">0.3</span>
   </div>
   <div id="projectbrief">A system-level modeling framework for designing real-time embedded systems</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_h_t_m_l_report_8cs_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Events</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">HTMLReport.cs</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_h_t_m_l_report_8cs.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="keyword">using</span> System.Diagnostics.Contracts;</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keyword">using</span> System.Xml;</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div>
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="namespace_system_sharp_1_1_reporting.html">   23</a></span>&#160;<span class="keyword">namespace </span>SystemSharp.Reporting</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;{</div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html">   28</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html">HTMLReport</a></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    {</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;        <span class="keyword">private</span> XmlWriter _out;</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#a5826bb67a7779cdb24068b2a8c89ee6b">   36</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#a5826bb67a7779cdb24068b2a8c89ee6b">HTMLReport</a>(<span class="keywordtype">string</span> fileName)</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;        {</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;            Contract.Requires(fileName != null);</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;            _out = XmlWriter.Create(fileName, <span class="keyword">new</span> XmlWriterSettings()</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;                {</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;                    Indent = <span class="keyword">true</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;                });</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;        }</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#aa37f93b3b5d4e15cb4587ad2c2651162">   50</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#aa37f93b3b5d4e15cb4587ad2c2651162">BeginDocument</a>(<span class="keywordtype">string</span> title)</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;        {</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;            _out.WriteStartElement(<span class="stringliteral">&quot;html&quot;</span>);</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;            _out.WriteStartElement(<span class="stringliteral">&quot;header&quot;</span>);</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;            _out.WriteElementString(<span class="stringliteral">&quot;title&quot;</span>, title);</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;            _out.WriteEndElement();</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;            _out.WriteStartElement(<span class="stringliteral">&quot;body&quot;</span>);</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;        }</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#aec81e2d33ca1430afae4cf7ba48f7441">   62</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#aec81e2d33ca1430afae4cf7ba48f7441">EndDocument</a>()</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;        {</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;            _out.WriteEndElement();</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;            _out.WriteEndElement();</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;        }</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#a28bf270007276bf4fb5499aef173df09">   73</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#a28bf270007276bf4fb5499aef173df09">AddSection</a>(<span class="keywordtype">int</span> level, <span class="keywordtype">string</span> title)</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;        {</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;            _out.WriteElementString(<span class="stringliteral">&quot;h&quot;</span> + level, title);</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;        }</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#a1250cf74ebfb83340e047d70d0e80e0c">   82</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#a1250cf74ebfb83340e047d70d0e80e0c">AddText</a>(<span class="keywordtype">string</span> text)</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;        {</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;            _out.WriteString(text);</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;        }</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;</div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#ae722ebb9a757d4b210650af08e504b40">   90</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#ae722ebb9a757d4b210650af08e504b40">BeginParagraph</a>()</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;        {</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;            _out.WriteStartElement(<span class="stringliteral">&quot;p&quot;</span>);</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;        }</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#a0bf29c7c3069bfa8a530d88ade454371">   98</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#a0bf29c7c3069bfa8a530d88ade454371">EndParagraph</a>()</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;        {</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;            _out.WriteEndElement();</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;        }</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#ab72c00480c1ee51965a3fe4d28c6a309">  108</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#ab72c00480c1ee51965a3fe4d28c6a309">BeginTable</a>(<span class="keywordtype">int</span> border, params <span class="keywordtype">string</span>[] captions)</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;        {</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;            _out.WriteStartElement(<span class="stringliteral">&quot;table&quot;</span>);</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;            _out.WriteAttributeString(<span class="stringliteral">&quot;border&quot;</span>, border.ToString());</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;            _out.WriteStartElement(<span class="stringliteral">&quot;tr&quot;</span>);</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;            <span class="keywordflow">foreach</span> (<span class="keywordtype">string</span> cap <span class="keywordflow">in</span> captions)</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;                _out.WriteElementString(<span class="stringliteral">&quot;th&quot;</span>, cap);</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;            _out.WriteEndElement();</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;        }</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;</div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#adf91863d552169fc779c5358e09a464b">  122</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#adf91863d552169fc779c5358e09a464b">BeginTable</a>(params <span class="keywordtype">string</span>[] captions)</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;        {</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;            _out.WriteStartElement(<span class="stringliteral">&quot;table&quot;</span>);</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;            _out.WriteStartElement(<span class="stringliteral">&quot;tr&quot;</span>);</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;            <span class="keywordflow">foreach</span> (<span class="keywordtype">string</span> cap <span class="keywordflow">in</span> captions)</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;                _out.WriteElementString(<span class="stringliteral">&quot;th&quot;</span>, cap);</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;            _out.WriteEndElement();</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;        }</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;</div>
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#ac15327ae1da246b97e0225a944736cb0">  135</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#ac15327ae1da246b97e0225a944736cb0">AddRow</a>(params <span class="keywordtype">string</span>[] cols)</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;        {</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;            _out.WriteStartElement(<span class="stringliteral">&quot;tr&quot;</span>);</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;            <span class="keywordflow">foreach</span> (<span class="keywordtype">string</span> col <span class="keywordflow">in</span> cols)</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;                _out.WriteElementString(<span class="stringliteral">&quot;td&quot;</span>, col);</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;            _out.WriteEndElement();</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;        }</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;</div>
<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#a0fe0bc2e5585481463b3b218869f4d2a">  146</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#a0fe0bc2e5585481463b3b218869f4d2a">EndTable</a>()</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;        {</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;            _out.WriteEndElement();</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;        }</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;</div>
<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#abf99bb89f49dc03dc63d8363078d42d8">  154</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#abf99bb89f49dc03dc63d8363078d42d8">BeginBulletList</a>()</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;        {</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;            _out.WriteStartElement(<span class="stringliteral">&quot;ul&quot;</span>);</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;        }</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;</div>
<div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#a8102591a97826b1e0c4137e03612af59">  162</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#a8102591a97826b1e0c4137e03612af59">EndBulletList</a>()</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;        {</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;            _out.WriteEndElement();</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;        }</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;</div>
<div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#a475d494b9967a1c68b3d5445d6d42548">  170</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#a475d494b9967a1c68b3d5445d6d42548">BeginEnumeration</a>()</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;        {</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;            _out.WriteStartElement(<span class="stringliteral">&quot;ol&quot;</span>);</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;        }</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;</div>
<div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#a4cace20b6d7a684f355337484d388c71">  178</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#a4cace20b6d7a684f355337484d388c71">EndEnumeration</a>()</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;        {</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;            _out.WriteEndElement();</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;        }</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;</div>
<div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#a28872c4a68f827183aab85ce794ba232">  187</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#a28872c4a68f827183aab85ce794ba232">AddListItem</a>(<span class="keywordtype">string</span> text)</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;        {</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;            _out.WriteElementString(<span class="stringliteral">&quot;li&quot;</span>, text);</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;        }</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;</div>
<div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#adc0134cd94f5fd761eccf53d5aa2d12e">  195</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#adc0134cd94f5fd761eccf53d5aa2d12e">BeginListItem</a>()</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;        {</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;            _out.WriteStartElement(<span class="stringliteral">&quot;li&quot;</span>);</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;        }</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;</div>
<div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#acd1f8dff82c830c2d360096f9f85f1f1">  203</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#acd1f8dff82c830c2d360096f9f85f1f1">EndListItem</a>()</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;        {</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;            _out.WriteEndElement();</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;        }</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;</div>
<div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#a398377def0780dff9d03d35fead4588c">  211</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#a398377def0780dff9d03d35fead4588c">Close</a>()</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;        {</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;            _out.Close();</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;        }</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;    }</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;}</div>
<div class="ttc" id="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report_html_a475d494b9967a1c68b3d5445d6d42548"><div class="ttname"><a href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#a475d494b9967a1c68b3d5445d6d42548">SystemSharp.Reporting.HTMLReport.BeginEnumeration</a></div><div class="ttdeci">void BeginEnumeration()</div><div class="ttdoc">Begins a new enumeration. </div><div class="ttdef"><b>Definition:</b> <a href="_h_t_m_l_report_8cs_source.html#l00170">HTMLReport.cs:170</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report_html_a4cace20b6d7a684f355337484d388c71"><div class="ttname"><a href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#a4cace20b6d7a684f355337484d388c71">SystemSharp.Reporting.HTMLReport.EndEnumeration</a></div><div class="ttdeci">void EndEnumeration()</div><div class="ttdoc">Ends current enumeration. </div><div class="ttdef"><b>Definition:</b> <a href="_h_t_m_l_report_8cs_source.html#l00178">HTMLReport.cs:178</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report_html_a0bf29c7c3069bfa8a530d88ade454371"><div class="ttname"><a href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#a0bf29c7c3069bfa8a530d88ade454371">SystemSharp.Reporting.HTMLReport.EndParagraph</a></div><div class="ttdeci">void EndParagraph()</div><div class="ttdoc">Ends current paragraph. </div><div class="ttdef"><b>Definition:</b> <a href="_h_t_m_l_report_8cs_source.html#l00098">HTMLReport.cs:98</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report_html_a5826bb67a7779cdb24068b2a8c89ee6b"><div class="ttname"><a href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#a5826bb67a7779cdb24068b2a8c89ee6b">SystemSharp.Reporting.HTMLReport.HTMLReport</a></div><div class="ttdeci">HTMLReport(string fileName)</div><div class="ttdoc">Constructs an instance. </div><div class="ttdef"><b>Definition:</b> <a href="_h_t_m_l_report_8cs_source.html#l00036">HTMLReport.cs:36</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report_html_a8102591a97826b1e0c4137e03612af59"><div class="ttname"><a href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#a8102591a97826b1e0c4137e03612af59">SystemSharp.Reporting.HTMLReport.EndBulletList</a></div><div class="ttdeci">void EndBulletList()</div><div class="ttdoc">Ends current bullet list. </div><div class="ttdef"><b>Definition:</b> <a href="_h_t_m_l_report_8cs_source.html#l00162">HTMLReport.cs:162</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report_html_abf99bb89f49dc03dc63d8363078d42d8"><div class="ttname"><a href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#abf99bb89f49dc03dc63d8363078d42d8">SystemSharp.Reporting.HTMLReport.BeginBulletList</a></div><div class="ttdeci">void BeginBulletList()</div><div class="ttdoc">Begins a new bullet list. </div><div class="ttdef"><b>Definition:</b> <a href="_h_t_m_l_report_8cs_source.html#l00154">HTMLReport.cs:154</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report_html_adf91863d552169fc779c5358e09a464b"><div class="ttname"><a href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#adf91863d552169fc779c5358e09a464b">SystemSharp.Reporting.HTMLReport.BeginTable</a></div><div class="ttdeci">void BeginTable(params string[] captions)</div><div class="ttdoc">Begins a new table. </div><div class="ttdef"><b>Definition:</b> <a href="_h_t_m_l_report_8cs_source.html#l00122">HTMLReport.cs:122</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report_html_adc0134cd94f5fd761eccf53d5aa2d12e"><div class="ttname"><a href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#adc0134cd94f5fd761eccf53d5aa2d12e">SystemSharp.Reporting.HTMLReport.BeginListItem</a></div><div class="ttdeci">void BeginListItem()</div><div class="ttdoc">Begins a new item inside the current bullet list or enumeration. </div><div class="ttdef"><b>Definition:</b> <a href="_h_t_m_l_report_8cs_source.html#l00195">HTMLReport.cs:195</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report_html_a28872c4a68f827183aab85ce794ba232"><div class="ttname"><a href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#a28872c4a68f827183aab85ce794ba232">SystemSharp.Reporting.HTMLReport.AddListItem</a></div><div class="ttdeci">void AddListItem(string text)</div><div class="ttdoc">Adds an item to the current bullet list or enumeration. </div><div class="ttdef"><b>Definition:</b> <a href="_h_t_m_l_report_8cs_source.html#l00187">HTMLReport.cs:187</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report_html_aa37f93b3b5d4e15cb4587ad2c2651162"><div class="ttname"><a href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#aa37f93b3b5d4e15cb4587ad2c2651162">SystemSharp.Reporting.HTMLReport.BeginDocument</a></div><div class="ttdeci">void BeginDocument(string title)</div><div class="ttdoc">Begins an HTML document. </div><div class="ttdef"><b>Definition:</b> <a href="_h_t_m_l_report_8cs_source.html#l00050">HTMLReport.cs:50</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report_html_a0fe0bc2e5585481463b3b218869f4d2a"><div class="ttname"><a href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#a0fe0bc2e5585481463b3b218869f4d2a">SystemSharp.Reporting.HTMLReport.EndTable</a></div><div class="ttdeci">void EndTable()</div><div class="ttdoc">Ends current table. </div><div class="ttdef"><b>Definition:</b> <a href="_h_t_m_l_report_8cs_source.html#l00146">HTMLReport.cs:146</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report_html_a28bf270007276bf4fb5499aef173df09"><div class="ttname"><a href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#a28bf270007276bf4fb5499aef173df09">SystemSharp.Reporting.HTMLReport.AddSection</a></div><div class="ttdeci">void AddSection(int level, string title)</div><div class="ttdoc">Adds a header. </div><div class="ttdef"><b>Definition:</b> <a href="_h_t_m_l_report_8cs_source.html#l00073">HTMLReport.cs:73</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report_html_ae722ebb9a757d4b210650af08e504b40"><div class="ttname"><a href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#ae722ebb9a757d4b210650af08e504b40">SystemSharp.Reporting.HTMLReport.BeginParagraph</a></div><div class="ttdeci">void BeginParagraph()</div><div class="ttdoc">Begins a new paragraph. </div><div class="ttdef"><b>Definition:</b> <a href="_h_t_m_l_report_8cs_source.html#l00090">HTMLReport.cs:90</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report_html_ab72c00480c1ee51965a3fe4d28c6a309"><div class="ttname"><a href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#ab72c00480c1ee51965a3fe4d28c6a309">SystemSharp.Reporting.HTMLReport.BeginTable</a></div><div class="ttdeci">void BeginTable(int border, params string[] captions)</div><div class="ttdoc">Begins a new table. </div><div class="ttdef"><b>Definition:</b> <a href="_h_t_m_l_report_8cs_source.html#l00108">HTMLReport.cs:108</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report_html_acd1f8dff82c830c2d360096f9f85f1f1"><div class="ttname"><a href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#acd1f8dff82c830c2d360096f9f85f1f1">SystemSharp.Reporting.HTMLReport.EndListItem</a></div><div class="ttdeci">void EndListItem()</div><div class="ttdoc">Ends the current list item. </div><div class="ttdef"><b>Definition:</b> <a href="_h_t_m_l_report_8cs_source.html#l00203">HTMLReport.cs:203</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report_html_ac15327ae1da246b97e0225a944736cb0"><div class="ttname"><a href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#ac15327ae1da246b97e0225a944736cb0">SystemSharp.Reporting.HTMLReport.AddRow</a></div><div class="ttdeci">void AddRow(params string[] cols)</div><div class="ttdoc">Begins a new row inside current table. </div><div class="ttdef"><b>Definition:</b> <a href="_h_t_m_l_report_8cs_source.html#l00135">HTMLReport.cs:135</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report_html_a1250cf74ebfb83340e047d70d0e80e0c"><div class="ttname"><a href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#a1250cf74ebfb83340e047d70d0e80e0c">SystemSharp.Reporting.HTMLReport.AddText</a></div><div class="ttdeci">void AddText(string text)</div><div class="ttdoc">Adds text to the document. </div><div class="ttdef"><b>Definition:</b> <a href="_h_t_m_l_report_8cs_source.html#l00082">HTMLReport.cs:82</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report_html"><div class="ttname"><a href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html">SystemSharp.Reporting.HTMLReport</a></div><div class="ttdoc">Provides functionality for creating simple HTML documents. </div><div class="ttdef"><b>Definition:</b> <a href="_h_t_m_l_report_8cs_source.html#l00028">HTMLReport.cs:28</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report_html_aec81e2d33ca1430afae4cf7ba48f7441"><div class="ttname"><a href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#aec81e2d33ca1430afae4cf7ba48f7441">SystemSharp.Reporting.HTMLReport.EndDocument</a></div><div class="ttdeci">void EndDocument()</div><div class="ttdoc">Ends the HTML document. </div><div class="ttdef"><b>Definition:</b> <a href="_h_t_m_l_report_8cs_source.html#l00062">HTMLReport.cs:62</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report_html_a398377def0780dff9d03d35fead4588c"><div class="ttname"><a href="class_system_sharp_1_1_reporting_1_1_h_t_m_l_report.html#a398377def0780dff9d03d35fead4588c">SystemSharp.Reporting.HTMLReport.Close</a></div><div class="ttdeci">void Close()</div><div class="ttdoc">Closes the document. </div><div class="ttdef"><b>Definition:</b> <a href="_h_t_m_l_report_8cs_source.html#l00211">HTMLReport.cs:211</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_bb5e995590685548b7e11478911ee7c3.html">SystemSharp-Google-SVN</a></li><li class="navelem"><a class="el" href="dir_8deefa4467a62b572b52d238d562b104.html">SystemSharp</a></li><li class="navelem"><a class="el" href="dir_0e5a72156f8560bbc472a395da2569d6.html">SystemSharp</a></li><li class="navelem"><a class="el" href="dir_9d3c30b4336bd92c64ccf0aeee487ace.html">SystemSharp</a></li><li class="navelem"><a class="el" href="dir_e4205c23a902ded8df0544cec964d787.html">Reporting</a></li><li class="navelem"><a class="el" href="_h_t_m_l_report_8cs.html">HTMLReport.cs</a></li>
    <li class="footer">Generated on Thu Dec 26 2013 14:21:39 for SystemSharp by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
